<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/lol"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginBottom="2dp"
    android:elevation="10dp"
    android:orientation="vertical"
    android:visibility="visible"
    tools:context=".MainActivity">

    <androidx.cardview.widget.CardView
        android:id="@+id/crd_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="#5C5959"
        android:elevation="20dp"
        android:fadingEdgeLength="20dp"
        android:visibility="visible"
        app:cardElevation="20dp">

        <RelativeLayout
            android:id="@+id/mainView"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="#5C5959"
            android:visibility="visible">

            <ImageView
                android:id="@+id/left_anchor_img"
                android:layout_width="3dp"
                android:layout_height="wrap_content"
                android:layout_marginLeft="5dp"
                android:layout_marginTop="4dp"
                android:layout_marginBottom="10dp"
                android:background="#E67E16"
                android:maxWidth="3dp"
                android:minHeight="85dp" />

            <TextView
                android:id="@+id/checkText"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="false"
                android:layout_alignParentTop="true"
                android:layout_alignParentRight="false"
                android:layout_marginLeft="10dp"
                android:layout_marginTop="1dp"
                android:layout_toRightOf="@id/left_anchor_img"
                android:maxWidth="300dp"
                android:maxHeight="85dp"
                android:text="this is some roandomas shit"
                android:textColor="#FFFFFF"
                android:textSize="18sp"
                android:textStyle="bold" />

            <ImageButton
                android:id="@+id/state_but"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="false"
                android:layout_alignParentRight="true"
                android:layout_marginTop="5dp"
                android:layout_marginRight="20dp"
                android:adjustViewBounds="true"
                android:background="#00FFFFFF"
                android:clickable="false"
                android:elevation="4dp"
                android:maxHeight="85dp"
                android:minHeight="85dp"
                android:scaleType="fitStart"
                android:src="@drawable/no" />

        </RelativeLayout>

    </androidx.cardview.widget.CardView>
</LinearLayout>